home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / QuickDraw / SetDeskCPatDemo / SetDeskCPatDemo READ ME < prev   
MacBinary  |  1997-06-25  |  2.3 KB  |  [clpp/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Wed Jun 11 11:41:23 1997, modified Wed Jun 25 09:36:28 1997, creator 'drag', type 'clpp' "SetDeskCPatDemo READ ME", at 0x80 2059 bytes resource Apple HFS/HFS+ resource fork, map offset 0x79d, map length 0x6e, data length 0x69d, at 16 0x204e4554, nextResourceMap 0x2494ccc, fileRef 0x2922, list offset 0x1c, name offset 0x6e, 4 types, 0x50494354 'PICT' * 1 resource offset 0x22 default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpp]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 17 53 65 74 44 65 73 | 6b 43 50 61 74 44 65 6d |..SetDes|kCPatDem|
|00000010| 6f 20 52 45 41 44 20 4d | 45 00 00 00 00 00 00 00 |o READ M|E.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 70 64 72 61 | 67 01 00 00 00 00 00 00 |.clppdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 08 0b af c4 77 a3 af |........|.....w..|
|00000060| d6 cf 5c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..\.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d2 4d 00 00 |........|.....M..|
|00000080| 00 00 01 00 00 00 07 9d | 00 00 06 9d 00 00 00 6e |........|.......n|
|00000090| 20 4e 45 54 53 43 41 50 | 45 2d 42 6f 6f 6b 6d 61 | NETSCAP|E-Bookma|
|000000a0| 72 6b 2d 66 69 6c 65 2d | 31 3e 0d 3c 21 43 72 65 |rk-file-|1>.<!Cre|
|000000b0| 17 53 65 74 44 65 73 6b | 43 50 61 74 44 65 6d 6f |.SetDesk|CPatDemo|
|000000c0| 20 52 45 41 44 20 4d 45 | 72 63 2e 53 59 4d 45 31 | READ ME|rc.SYME1|
|000000d0| 00 00 63 6c 70 70 64 72 | 61 67 01 00 ff ff ff ff |..clppdr|ag......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 af c4 77 a3 00 00 | 00 00 00 00 08 0b 45 4e |....w...|......EN|
|00000100| 54 3d 22 74 65 78 74 2f | 68 74 6d 6c 3b 20 63 68 |T="text/|html; ch|
|00000110| 61 72 73 65 74 3d 78 2d | 6d 61 63 2d 72 6f 6d 61 |arset=x-|mac-roma|
|00000120| 6e 22 3e 0d 3c 54 49 54 | 4c 45 3e 4d 69 63 72 6f |n">.<TIT|LE>Micro|
|00000130| 73 6f 66 74 20 49 6e 74 | 65 72 6e 65 74 20 45 78 |soft Int|ernet Ex|
|00000140| 70 6c 6f 72 65 72 3c 2f | 54 49 54 4c 45 3e 0d 0d |plorer</|TITLE>..|
|00000150| 3c 48 31 20 20 57 49 4e | 44 4f 57 5f 50 4f 53 49 |<H1 WIN|DOW_POSI|
|00000160| 54 49 4f 4e 3d 22 32 30 | 2c 36 35 22 20 57 49 4e |TION="20|,65" WIN|
|00000170| 44 4f 57 5f 53 49 5a 45 | 3d 22 34 33 38 2c 35 35 |DOW_SIZE|="438,55|
|00000180| 00 00 06 30 06 30 00 00 | 00 00 01 cf 01 ae 00 11 |...0.0..|........|
|00000190| 02 ff 0c 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 01 ae 00 00 01 cf 00 00 | 00 00 00 00 00 1e 00 0c |........|........|
|000001b0| 00 00 ff ff 00 01 00 0a | 00 00 00 00 01 ce 01 ae |........|........|
|000001c0| 00 2c 00 09 00 03 06 47 | 65 6e 65 76 61 00 00 03 |.,.....G|eneva...|
|000001d0| 00 03 00 0d 00 18 00 2e | 00 04 00 00 00 00 00 10 |........|........|
|000001e0| 01 ce 01 ae 01 ce 01 ae | 00 2b 12 16 0f 53 65 74 |........|.+...Set|
|000001f0| 44 65 73 6b 43 50 61 74 | 44 65 6d 6f 00 2c 00 0b |DeskCPat|Demo.,..|
|00000200| 00 10 08 50 61 6c 61 74 | 69 6e 6f 00 00 03 00 10 |...Palat|ino.....|
|00000210| 00 0d 00 0c 00 2b 12 1a | 32 63 6f 64 65 20 61 6e |.....+..|2code an|
|00000220| 64 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |d docume|ntation |
|00000230| a9 ca 31 39 39 37 20 41 | 70 70 6c 65 20 43 6f 6d |..1997 A|pple Com|
|00000240| 70 75 74 65 72 2c 20 49 | 6e 63 2e 00 00 2a 0e 19 |puter, I|nc...*..|
|00000250| 50 65 74 65 20 47 6f 6e | 74 69 65 72 2c 20 45 76 |Pete Gon|tier, Ev|
|00000260| 69 6c 20 47 65 6e 69 75 | 73 00 00 2a 0e 22 4d 61 |il Geniu|s..*."Ma|
|00000270| 63 20 4f 53 20 44 65 76 | 65 6c 6f 70 65 72 20 54 |c OS Dev|eloper T|
|00000280| 65 63 68 6e 69 63 61 6c | 20 53 75 70 70 6f 72 74 |echnical| Support|
|00000290| 00 2a 0e 16 63 6f 6d 6d | 65 6e 74 73 20 61 6e 64 |.*..comm|ents and|
|000002a0| 20 6b 75 64 6f 73 20 74 | 6f 20 00 2c 00 0a 00 16 | kudos t|o .,....|
|000002b0| 07 43 6f 75 72 69 65 72 | 00 03 00 16 00 29 89 16 |.Courier|.....)..|
|000002c0| 3c 64 65 76 73 75 70 70 | 6f 72 74 40 61 70 70 6c |<devsupp|ort@appl|
|000002d0| 65 2e 63 6f 6d 3e 00 03 | 00 03 00 0d 00 12 00 28 |e.com>..|.......(|
|000002e0| 00 7a 00 12 0b 57 68 61 | 74 20 69 73 20 69 74 3f |.z...Wha|t is it?|
|000002f0| 00 03 00 10 00 0d 00 0c | 00 2b 12 18 44 49 74 27 |........|.+..DIt'|
|00000300| 73 20 61 20 73 69 6d 70 | 6c 65 20 63 6f 64 65 20 |s a simp|le code |
|00000310| 73 61 6d 70 6c 65 20 77 | 68 69 63 68 20 64 65 6d |sample w|hich dem|
|00000320| 6f 6e 73 74 72 61 74 65 | 73 20 68 6f 77 20 74 6f |onstrate|s how to|
|00000330| 20 63 61 6c 6c 20 53 65 | 74 44 65 73 6b 43 50 61 | call Se|tDeskCPa|
|00000340| 74 00 00 2a 0e 47 70 72 | 6f 70 65 72 6c 79 2e 20 |t..*.Gpr|operly. |
|00000350| 53 65 74 44 65 73 6b 43 | 50 61 74 20 69 73 20 61 |SetDeskC|Pat is a|
|00000360| 20 64 65 63 65 70 74 69 | 76 65 6c 79 20 73 69 6d | decepti|vely sim|
|00000370| 70 6c 65 20 63 61 6c 6c | 2e 20 4f 66 20 74 68 65 |ple call|. Of the|
|00000380| 20 71 75 65 73 74 69 6f | 6e 73 20 77 65 00 00 2a | questio|ns we..*|
|00000390| 0e 48 67 65 74 20 61 62 | 6f 75 74 20 69 74 2c 20 |.Hget ab|out it, |
|000003a0| 6d 6f 73 74 20 62 6f 69 | 6c 20 64 6f 77 6e 20 74 |most boi|l down t|
|000003b0| 6f 3a 20 5b 31 5d 20 57 | 68 61 74 20 61 62 6f 75 |o: [1] W|hat abou|
|000003c0| 74 20 74 68 65 20 70 69 | 78 65 6c 20 70 61 74 74 |t the pi|xel patt|
|000003d0| 65 72 6e 20 68 61 6e 64 | 6c 65 00 2a 0e 49 74 68 |ern hand|le.*.Ith|
|000003e0| 61 74 27 73 20 61 6c 72 | 65 61 64 79 20 62 65 69 |at's alr|eady bei|
|000003f0| 6e 67 20 64 69 73 70 6c | 61 79 65 64 3f 20 28 49 |ng displ|ayed? (I|
|00000400| 74 20 67 65 74 73 20 64 | 69 73 70 6f 73 65 64 20 |t gets d|isposed |
|00000410| 61 75 74 6f 6d 61 67 69 | 63 61 6c 6c 79 2e 29 20 |automagi|cally.) |
|00000420| 61 6e 64 20 5b 32 5d 00 | 00 2a 0e 42 48 6f 77 20 |and [2].|.*.BHow |
|00000430| 63 6f 6d 65 20 74 68 65 | 20 73 79 73 74 65 6d 20 |come the| system |
|00000440| 63 72 61 73 68 65 73 20 | 61 66 74 65 72 20 6d 79 |crashes |after my|
|00000450| 20 61 70 70 20 71 75 69 | 74 73 3f 20 28 54 68 65 | app qui|ts? (The|
|00000460| 20 70 69 78 65 6c 20 70 | 61 74 74 65 72 6e 00 2a | pixel p|attern.*|
|00000470| 0e 34 6e 65 65 64 73 20 | 74 6f 20 62 65 20 61 6c |.4needs |to be al|
|00000480| 6c 6f 77 65 64 20 74 6f | 20 22 6c 65 61 6b 22 20 |lowed to| "leak" |
|00000490| 69 6e 74 6f 20 74 68 65 | 20 73 79 73 74 65 6d 20 |into the| system |
|000004a0| 68 65 61 70 2e 29 00 03 | 00 03 00 0d 00 12 00 28 |heap.)..|.......(|
|000004b0| 00 f8 00 12 23 42 75 74 | 20 69 73 6e 27 74 20 53 |....#But| isn't S|
|000004c0| 65 74 44 65 73 6b 43 50 | 61 74 20 62 65 63 6f 6d |etDeskCP|at becom|
|000004d0| 69 6e 67 20 6c 65 73 73 | 00 2a 16 26 69 6d 70 6f |ing less|.*.&impo|
|000004e0| 72 74 61 6e 74 20 77 69 | 74 68 20 74 68 65 20 61 |rtant wi|th the a|
|000004f0| 64 76 65 6e 74 20 6f 66 | 20 4d 61 63 20 4f 53 20 |dvent of| Mac OS |
|00000500| 38 3f 00 03 00 10 00 0d | 00 0c 00 2b 12 18 42 59 |8?......|...+..BY|
|00000510| 65 73 2e 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 62 |es. You |should b|
|00000520| 65 20 63 61 72 65 66 75 | 6c 20 74 6f 20 63 6f 2d |e carefu|l to co-|
|00000530| 65 78 69 73 74 20 67 72 | 61 63 65 66 75 6c 6c 79 |exist gr|acefully|
|00000540| 20 77 69 74 68 20 74 68 | 65 20 44 65 73 6b 74 6f | with th|e Deskto|
|00000550| 70 00 00 2a 0e 45 50 69 | 63 74 75 72 65 73 20 66 |p..*.EPi|ctures f|
|00000560| 61 63 69 6c 69 74 79 20 | 69 6e 20 4d 61 63 20 4f |acility |in Mac O|
|00000570| 53 20 38 2e 20 53 65 65 | 20 74 68 65 20 4d 61 63 |S 8. See| the Mac|
|00000580| 20 4f 53 20 38 20 54 65 | 63 68 6e 6f 74 65 20 66 | OS 8 Te|chnote f|
|00000590| 6f 72 20 64 65 74 61 69 | 6c 73 2e 00 00 03 00 03 |or detai|ls......|
|000005a0| 00 0d 00 12 00 28 01 54 | 00 12 0c 57 65 61 73 65 |.....(.T|...Wease|
|000005b0| 6c 20 57 6f 72 64 73 00 | 00 03 00 10 00 0d 00 0c |l Words.|........|
|000005c0| 00 2b 12 18 43 59 6f 75 | 20 6d 61 79 20 69 6e 63 |.+..CYou| may inc|
|000005d0| 6f 72 70 6f 72 61 74 65 | 20 74 68 69 73 20 73 61 |orporate| this sa|
|000005e0| 6d 70 6c 65 20 63 6f 64 | 65 20 69 6e 74 6f 20 79 |mple cod|e into y|
|000005f0| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |our appl|ications|
|00000600| 20 77 69 74 68 6f 75 74 | 00 2a 0e 3f 72 65 73 74 | without|.*.?rest|
|00000610| 72 69 63 74 69 6f 6e 2e | 20 54 68 69 73 20 73 61 |riction.| This sa|
|00000620| 6d 70 6c 65 20 63 6f 64 | 65 20 68 61 73 20 62 65 |mple cod|e has be|
|00000630| 65 6e 20 70 72 6f 76 69 | 64 65 64 20 22 41 53 20 |en provi|ded "AS |
|00000640| 49 53 22 20 61 6e 64 20 | 74 68 65 00 00 2a 0e 48 |IS" and |the..*.H|
|00000650| 72 65 73 70 6f 6e 73 69 | 62 69 6c 69 74 79 20 66 |responsi|bility f|
|00000660| 6f 72 20 69 74 73 20 6f | 70 65 72 61 74 69 6f 6e |or its o|peration|
|00000670| 20 69 73 20 31 30 30 25 | 20 79 6f 75 72 73 2e 20 | is 100%| yours. |
|00000680| 59 6f 75 20 61 72 65 20 | 6e 6f 74 20 70 65 72 6d |You are |not perm|
|00000690| 69 74 74 65 64 20 74 6f | 00 2a 0e 40 72 65 64 69 |itted to|.*.@redi|
|000006a0| 73 74 72 69 62 75 74 65 | 20 74 68 65 20 73 6f 75 |stribute| the sou|
|000006b0| 72 63 65 20 61 73 20 22 | 41 70 70 6c 65 20 73 61 |rce as "|Apple sa|
|000006c0| 6d 70 6c 65 20 63 6f 64 | 65 22 20 61 66 74 65 72 |mple cod|e" after|
|000006d0| 20 68 61 76 69 6e 67 20 | 6d 61 64 65 00 2a 0e 49 | having |made.*.I|
|000006e0| 63 68 61 6e 67 65 73 2e | 20 49 66 20 79 6f 75 27 |changes.| If you'|
|000006f0| 72 65 20 67 6f 69 6e 67 | 20 74 6f 20 72 65 2d 64 |re going| to re-d|
|00000700| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 73 6f |istribut|e the so|
|00000710| 75 72 63 65 2c 20 77 65 | 20 72 65 71 75 69 72 65 |urce, we| require|
|00000720| 20 74 68 61 74 20 79 6f | 75 00 00 2a 0e 42 6d 61 | that yo|u..*.Bma|
|00000730| 6b 65 20 69 74 20 63 6c | 65 61 72 20 69 6e 20 74 |ke it cl|ear in t|
|00000740| 68 65 20 73 6f 75 72 63 | 65 20 74 68 61 74 20 74 |he sourc|e that t|
|00000750| 68 65 20 63 6f 64 65 20 | 77 61 73 20 64 65 73 63 |he code |was desc|
|00000760| 65 6e 64 65 64 20 66 72 | 6f 6d 20 41 70 70 6c 65 |ended fr|om Apple|
|00000770| 00 2a 0e 2a 73 61 6d 70 | 6c 65 20 63 6f 64 65 2c |.*.*samp|le code,|
|00000780| 20 62 75 74 20 74 68 61 | 74 20 79 6f 75 27 76 65 | but tha|t you've|
|00000790| 20 6d 61 64 65 20 63 68 | 61 6e 67 65 73 2e 00 a1 | made ch|anges...|
|000007a0| 00 64 00 0e b7 78 70 72 | 00 00 00 0e 00 00 00 00 |.d...xpr|........|
|000007b0| 00 00 00 ff 00 00 00 17 | 4d 53 57 44 00 04 4e 41 |........|MSWD..NA|
|000007c0| 54 56 4f 4c 4e 4b 50 49 | 43 54 4f 4a 4c 4b 00 00 |TVOLNKPI|CTOJLK..|
|000007d0| 00 00 30 00 00 00 01 00 | 00 00 00 00 00 00 00 00 |..0.....|........|
|000007e0| 00 00 02 50 49 43 54 00 | 00 01 00 00 00 00 00 00 |...PICT.|........|
|000007f0| 00 00 00 43 4c 41 50 00 | 00 01 00 00 00 00 00 00 |...CLAP.|........|
|00000800| 00 00 00 00 00 00 16 00 | 08 01 bc 00 23 02 70 02 |........|....#.p.|
|00000810| 05 69 78 00 01 ff f8 ff | f0 00 00 01 9a 00 00 01 |.ix.....|........|
|00000820| 00 00 00 07 9d 00 00 06 | 9d 00 00 00 6e 02 49 4c |........|....n.IL|
|00000830| cc 29 22 00 00 00 1c 00 | 6e 00 03 50 49 43 54 00 |.)".....|n..PICT.|
|00000840| 00 00 22 43 4c 41 50 00 | 00 00 2e 64 72 61 67 00 |.."CLAP.|...drag.|
|00000850| 00 00 3a 66 77 73 74 00 | 00 00 46 01 00 ff ff 00 |..:fwst.|..F.....|
|00000860| 00 00 00 00 00 00 00 01 | 00 ff ff 00 00 06 34 00 |........|......4.|
|00000870| 00 00 00 00 80 ff ff 00 | 00 06 4f 00 00 00 00 bf |........|..O.....|
|00000880| 4c ff ff 00 00 06 83 00 | 5b 8b a8 00 00 00 00 00 |L.......|[.......|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+